import java.awt.Color;

import becker.robots.City;
import becker.robots.Direction;
import becker.robots.Robot;


public class SwimmerBot extends Robot implements Runnable {

	public SwimmerBot(City aCity, int aStreet, int anAvenue,
			Direction aDirection) {
		super(aCity, aStreet, anAvenue, aDirection);		
	}

	public void turnLeft(int i){
		for (int x = 0; x < i; x++){
			super.turnLeft();
		}
	}

	@Override
	public void run() {
		int q = 0;
		while (1 != 2){
			super.turnLeft();
			super.move();
			if (q % 2 == 0){
				super.setColor(Color.BLUE);
			} else {
				super.setColor(Color.RED);
			}
			q++;			
		}
	}



}
